﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HeathCareSystem
{
    public class BenhNhanTrongNgayBUS
    {
        public bool ThemBenhNhanTrongNgayMoi(BenhNhanTrongNgayDTO bntnDTO)
        {
            return new BenhNhanTrongNgayDAO().ThemBenhNhanTrongNgayMoi(bntnDTO);
        }
        public bool XoaDanhSachBenhNhanTrongNgay()
        {
            return new BenhNhanTrongNgayDAO().XoaDanhSachBenhNhanTrongNgay();
        }

        public int TaoMaSoKhamBenhTuDong()
        {
            return new BenhNhanTrongNgayDAO().TaoMaSoKhamBenhTuDong();
        }

        public static List<BenhNhanTrongNgayDTO> DanhSachBenhNhanTrongNgay()
        {
            return BenhNhanTrongNgayDAO.DanhSachBenhNhanTrongNgay();
        }
        public static BenhNhanTrongNgayDTO LayThongTinTheoMa(string ma)
        {
            return BenhNhanTrongNgayDAO.LayThongTinTheoMa(ma);
        }
    }
}